package com.china08.yxyapi.repository.mg;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.china08.yxyapi.entity.mg.paper.PaperQues;

/**
 * The Class TestPaper.
 */
public interface PaperQuesRepository extends MongoRepository<PaperQues, String> {

    Integer countByPaperId(String id);

    Long deleteByPaperId(String id);

    List<PaperQues> findByPaperId(String id);

}
